﻿using System.ComponentModel.DataAnnotations;

namespace Future.Shared.Core.Base;

/// <summary>
///     Author: Riva
///     Date: 2023/7/11 14:24
///     Description:
/// </summary>
public class BaseInputId
{
    /// <summary>
    ///     主键Id
    /// </summary>
    [Required(ErrorMessage = "Id不能为空")]
    public virtual long Id { get; set; }
}

public class BaseInputIds
{
    /// <summary>
    ///     主键Ids
    /// </summary>
    [Required(ErrorMessage = "Ids不能为空")]
    public virtual long[] Ids { get; set; } = null!;
}